<!DOCTYPE html>
<html>

<head>
    <meta name="layout" content="main" />
    <g:set var="entityName" value="${message(code: 'jasperFile.label', default: 'JasperFile')}" />
    <title>下载模板：${jasperFile.name}</title>
</head>

<body class="fixed-navbar fixed-sidebar">
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">

            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>CINDATA PLS</li>
                    <li>
                        <g:link controller="jasperFile" action="index">下载模板管理</g:link>
                    </li>
                    <li class="active">
                        <span>${this.jasperFile.name}</span>
                    </li>
                </ol>
            </div>
            <h2 class="font-light m-b-xs">
                下载模板: ${this.jasperFile?.name}
            </h2>

        </div>
    </div>
</div>
<div class="content animate-panel">
    <div class="row">
        <div class="hpanel hblue">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link class="btn btn-info btn-xs" action="edit" resource="${this.jasperFile}"><i class="fa fa-edit"></i>编辑</g:link>
                </div>
                ${this.jasperFile?.name}
            </div>

            <div class="panel-body">
                <div class="form-horizontal">
                    <div class="form-group">
                        <label class="col-md-3 control-label">模板名称</label>
                        <div class="col-md-3">
                            <span class="cont">${this.jasperFile?.name}</span>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-md-3 control-label">模板描述</label>

                        <div class="col-md-3">
                            <span class="cont">${this.jasperFile?.description}</span>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-md-3 control-label">组建名称</label>

                        <div class="col-md-3">
                            <span class="cont">${this.jasperFile?.component?.name}</span>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-md-3 control-label">模板路径</label>

                        <div class="col-md-3">
                            <span class="cont">${this.jasperFile?.fileUrl}</span>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">创建时间</label>

                        <div class="col-md-3">
                            <span class="cont"><g:formatDate date="${this.jasperFile?.createdDate}" format="yyyy-MM-dd HH:mm:ss"></g:formatDate></span>

                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-md-3 control-label">修改时间</label>

                        <div class="col-md-3">
                            <span class="cont"><g:formatDate date="${this.jasperFile?.modifiedDate}" format="yyyy-MM-dd HH:mm:ss"></g:formatDate></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>
